@echo off
if /i "%PROCESSOR_IDENTIFIER:~0,3%"=="X86" (set JRE=jre32) else (set JRE=jre64)
set JAVA_HOME=%~dp0%JRE%
set PATH=%JAVA_HOME%\bin;C:\Windows;C:\Windows\Command
set CLASSPATH=%JAVA_HOME%\jre\lib\rt.jar;.
java -jar excel_analysis_util-1.0-SNAPSHOT.jar
pause